﻿using System;
namespace Catering_Model
{
    /// <summary>
    /// Announcement:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class Announcement
    {
        public Announcement()
        { }
        #region Model
        private int _id;
        private string _title;
        private string _conent;
        private DateTime _release;
        private string _temp1;
        private string _temp2;
        private int userId;

        public int UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Conent
        {
            set { _conent = value; }
            get { return _conent; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime Release
        {
            set { _release = value; }
            get { return _release; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string temp1
        {
            set { _temp1 = value; }
            get { return _temp1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string temp2
        {
            set { _temp2 = value; }
            get { return _temp2; }
        }
        #endregion Model

    }
}

